<template>
  <div class="rightContent">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="基础组件" name="first">
        <baseRightContent />
      </el-tab-pane>
      <el-tab-pane label="图表组件" name="second">图表组件</el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import baseRightContent from "./baseRightContent.vue";
export default {
  name: "RightContent",
  components: {
    baseRightContent
  },
  data() {
    return {
      activeName: "first"
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  }
};
</script>

<style></style>
